package com.hanyi.ssm.service.impl;

import com.hanyi.ssm.dao.AccountDao;
import com.hanyi.ssm.domain.Account;
import com.hanyi.ssm.service.AccountService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class AccountServiceImpl implements AccountService {

    @Autowired
    AccountDao accountDao;

    @Override
    public List<Account> list() {
        System.out.println("AccountServiceImpl..........");
        return accountDao.list();
    }
}
